
import React from "react"
// svg
import { ReactComponent as CircuitSvg } from '../../assets/svg/laoNianShouFeiZhan.svg';
import {$homePageSvgComponentPropsInterface} from "../../interface";
import HomePage_SvgComponent from ".";



// 主页-老碾收费站svg组件

const HomePage_LaoNianShoufeizhanSvgComponent: React.FC<$homePageSvgComponentPropsInterface> = (props) => {
    const width = 1488
    const height = 912
    const cardList = [
        {
            name: "高压母线",
            top: 55,
            left: 113,
            key: "G1_进线",
        },
        {
            name: "PT及进线柜",
            top: 139,
            left: 426,                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
            key: "G1_进线",
            unit: "kV",
        },
        {
            name: "计量柜",
            top: 139,
            left: 582,
            key: "G2_计量",
        },
        {
            name: "变压器-左",
            top: 147,
            left: 757,
            key: "G3_变压器",
        },
        {
            name: "变压器-右",
            top: 78,
            left: 1134,
            key: "101DP_电源进线",
        },
        {
            name: "低压母线",
            top: 143,
            left: 1327,
            key: "101DP_电源进线",
        },
        {
            name: "收费广场照明",
            top: 269,
            left: 126,
            key: "103DP_收费广场照明",
        },
        {
            name: "消防泵动力（主电）",
            top: 269,
            left: 260,
            key: "103DP_消防泵动力",
        },
        {
            name: "备用",
            top: 269,
            left: 394,
            key: "103DP_备用1",
        },
        {
            name: "备用",
            top: 269,
            left: 528,
            key: "103DP_备用2",
        },
        {
            name: "备用",
            top: 269,
            left: 662,
            key: "103DP_备用3",
        },
        {
            name: "备用",
            top: 269,
            left: 796,
            key: "103DP_备用4",
        },
        {
            name: "备用",
            top: 269,
            left: 930,
            key: "103DP_备用5",
        },
        {
            name: "备用",
            top: 269,
            left: 1064,
            key: "103DP_备用6",
        },
        {
            name: "备用",
            top: 269,
            left: 1198,
            key: "103DP_备用7",
        },
        {
            name: "无功功率补偿",
            top: 269,
            left: 1332,
            key: "102DP_无功功率补偿",
        },
        {
            name: "办公楼动力照明",
            top: 490,
            left: 127,
            key: "105DP_办公楼动力照明",
        },
        {
            name: "综合用房动照",
            top: 490,
            left: 264,
            key: "105DP_综合用房动力照明",
        },
        {
            name: "综合用房生活泵",
            top: 490,
            left: 401,
            key: "105DP_综合用房生活泵",
        },
        {
            name: "消防泵动力（备用）",
            top: 490,
            left: 528,
            key: "105DP_消防泵动力备用",
        },
        {
            name: "监控外场设备",
            top: 490,
            left: 665,
            key: "105DP_监控外场设备",
        },
        {
            name: "备用",
            top: 490,
            left: 802,
            key: "105DP_备用1",
        },
        {
            name: "备用",
            top: 490,
            left: 929,
            key: "105DP_备用2",
        },
        {
            name: "备用",
            top: 490,
            left: 1066,
            key: "105DP_备用3",
        },
        {
            name: "柴油发电机",
            top: 490,
            left: 1373,
            key: "104DP_发电机进线",
        },
        {
            name: "收费亭空调照明",
            top: 711,
            left: 127,
            key: "106DP_收费亭空调照明",
        },
        {
            name: "机电设备",
            top: 711,
            left: 264,
            key: "106DP_机电设备",
        },
        {
            name: "中水处理",
            top: 711,
            left: 401,
            key: "106DP_中水处理",
        },
        {
            name: "变电所用电",
            top: 711,
            left: 538,
            key: "106DP_变电所用电",
        },
        {
            name: "ETC门架1",
            top: 711,
            left: 665,
            key: "106DP_ETC门架1",
        },
        {
            name: "ETC门架2",
            top: 711,
            left: 802,
            key: "106DP_ETC门架2",
        },
        {
            name: "备用",
            top: 711,
            left: 939,
            key: "106DP_备用1",
        },
        {
            name: "备用",
            top: 711,
            left: 1066,
            key: "106DP_备用2",
        },
        {
            name: "备用",
            top: 711,
            left: 1203,
            key: "106DP_备用3",
        },
    ]
    const rowGeneratrixList =["高压母线", "低压母线"]
    const row14List =["变压器-右"]
    const dialogBoxList =[
        {
            name: "变压器",
            top: 148,
            left: 1063,
            key: "101DP_电源进线",
            direction: "Up"
        },
        {
            name: "收费广场照明",
            top: 300,
            left: 107,
            key: "103DP_收费广场照明",
            direction: "Down"
        },
        {
            name: "消防泵动力（主电）",
            top: 377,
            left: 239,
            key: "103DP_消防泵动力",
            direction: "Up"
        },
        {
            name: "备用",
            top: 300,
            left: 375,
            key: "103DP_备用1",
            direction: "Down"
        },
        {
            name: "备用",
            top: 377,
            left: 509,
            key: "103DP_备用2",
            direction: "Up"
        },
        {
            name: "备用",
            top: 300,
            left: 642,
            key: "103DP_备用3",
            direction: "Down"
        },
        {
            name: "备用",
            top: 377,
            left: 775,
            key: "103DP_备用4",
            direction: "Up"
        },
        {
            name: "备用",
            top: 300,
            left: 910,
            key: "103DP_备用5",
            direction: "Down"
        },
        {
            name: "备用",
            top: 377,
            left: 1045,
            key: "103DP_备用6",
            direction: "Up"
        },
        {
            name: "备用",
            top: 300,
            left: 1179,
            key: "103DP_备用7",
            direction: "Down"
        },
        {
            name: "无功功率补偿",
            top: 377,
            left: 1313,
            key: "102DP_无功功率补偿",
            direction: "Up"
        },
        {
            name: "办公楼动力照明",
            top: 521,
            left: 107,
            key: "105DP_办公楼动力照明",
            direction: "Down"
        },
        {
            name: "综合用房动照",
            top: 598,
            left: 260,
            key: "105DP_综合用房动力照明",
            direction: "Up"
        },
        {
            name: "综合用房生活泵",
            top: 521,
            left: 375,
            key: "105DP_综合用房生活泵",
            direction: "Down"
        },
        {
            name: "消防泵动力（备用）",
            top: 598,
            left: 509,
            key: "105DP_消防泵动力备用",
            direction: "Up"
        },
        {
            name: "监控外场设备",
            top: 521,
            left: 643,
            key: "105DP_监控外场设备",
            direction: "Down"
        },
        {
            name: "备用",
            top: 598,
            left: 777,
            key: "105DP_备用1",
            direction: "Up"
        },
        {
            name: "备用",
            top: 521,
            left: 910,
            key: "105DP_备用2",
            direction: "Down"
        },
        {
            name: "备用",
            top: 598,
            left: 1045,
            key: "105DP_备用3",
            direction: "Up"
        },
        {
            name: "柴油发电机",
            top: 542,
            left: 1273,
            key: "104DP_发电机进线",
            direction: "Down"
        },
        {
            name: "收费亭空调照明",
            top: 741,
            left: 107,
            key: "106DP_收费亭空调照明",
            direction: "Down"
        },
        {
            name: "机电设备",
            top: 819,
            left: 239,
            key: "106DP_机电设备",
            direction: "Up"
        },
        {
            name: "中水处理",
            top: 742,
            left: 375,
            key: "106DP_中水处理",
            direction: "Down"
        },
        {
            name: "变电所用电",
            top: 819,
            left: 509,
            key: "106DP_变电所用电",
            direction: "Up"
        },
        {
            name: "ETC门架1",
            top: 742,
            left: 642,
            key: "106DP_ETC门架1",
            direction: "Down"
        },
        {
            name: "ETC门架2",
            top: 819,
            left: 775,
            key: "106DP_ETC门架2",
            direction: "Up"
        },
        {
            name: "备用",
            top: 742,
            left: 910,
            key: "106DP_备用1",
            direction: "Down"
        },
        {
            name: "备用",
            top: 820,
            left: 1045,
            key: "106DP_备用2",
            direction: "Up"
        },
        {
            name: "备用",
            top: 742,
            left: 1179,
            key: "106DP_备用3",
            direction: "Down"
        },
    ]
    return (
        <HomePage_SvgComponent initWidth={width} initHeight={height} pageName={props.pageName} scaleValue={props.scaleValue} isSwitch={props.isSwitch} Svg={CircuitSvg} cardList={cardList} rowGeneratrixList={rowGeneratrixList} row14List={row14List} initDialogBoxList = {dialogBoxList} sourceList={props.sourceList}/>
    )
}

export default HomePage_LaoNianShoufeizhanSvgComponent

